package com.zmj.sy.mom.srv.aps.controller;

import com.zmj.sy.mom.srv.aps.bean.vo.base.BaseResVo;
import com.zmj.sy.mom.srv.aps.service.ApsInformQmsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequiredArgsConstructor
@Api(tags = "APS手动调用QMS")
@RestController
@RequestMapping("/apsInformQms")
public class ApsInformQmsController {

    private final ApsInformQmsService apsInformQmsService;

    @ApiOperation("钢板报工（YC，JG，HG）")
    @PostMapping("/apsInformQmsplateEnd")
    public BaseResVo plateEndWork(String plateCode, String phaseCode){
        apsInformQmsService.plateEndWork(plateCode, phaseCode);
        return BaseResVo.ok();
    }

}
